Handle behavior with translating null objects back and forth
Fix codegen typo
keep up with API updates
use CLASS_API
Declare the JS generator in its descriptor