Use utils/type for type checking