@classmethod
def imports(cls):
    """Returns the modules registered with :meth:`add_import`\\ .

        :returns: module objects registered with :meth:`add_import`
        :rtype:   tuple

        """
    with cls._imported_modules_lock:
        return tuple(cls._imported_modules)
