Separate logic to print `create_ownable_reference` types