neo: do not instantiate types directly, use the model API

Since visibility on constructor is disabled in nitg, the errors was not detected.