Extracted new_subclass_instance method to a module