Unit test precompiler.addReviveTemplateBoilerplate().
Change prototype declarations to not declare a new object as the prototype but rather add methods/properties to the existing prototype. No other reason other than this is better practice as overwriting the prototype will make inheritance impossible.