Remove param from python API of ext_register

Minor cleanup.