Change GeneratedWrapper to CustomElementConstructor for readability.
add isntanceOf assert
add semi-colons for style.