Add a register_api() call to Base.pm