Remove .$class property and use built-in .constructor instead
AST optimizations and output code minification