'type' shouldn't be part of schema.