Moving Index class out of Action classes
Some methods in Widget class are implemented by __call() we must add an annotation.