Update nesting.md

added class import for the #[On] attribute