Added support for view.protoype.init