Fixes a compile error when exporting a #[pyclass] living in a different Rust module using the declarative-module feature.
#[pyclass]