```crystal internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0] ``` ``` undefined constant Model::Handled::ObjectType ``` That's because `Handled` is looked up within `Onyx::SQL::Model`. Should be prepended with `::`.