Changed type creation fom programmatic to via JSON schema load.