Changed the "any" template, so it can handle correctly the class attribute.

Changed several templates, to make them use the any template.