Currification of object types to remove a warning