This is needed to support `typing.get_type_hints`, which expects each classes module to have a module '__dict__'.