Fix code style
Support constants, class types and typed arrays.