Fix a bug introduced in Synapse 1.60.0rc1 that would break some imports from `synapse.module_api`.