Adding register method of the Autoschema class