Completion: override constructed

So in constructed we can use the view property.
Completion: move the code so the prototype is not needed

Just move the class_init() function below constructed().