add call to parrot_object_register