modules can only be registered once.