apparently it works by setting the `ob_type` member to a custom instance (the metaclass) of a class that derives from `type`.