Update ModuleApi to avoid register(generate_token=True).