Register, not add, modules. Throw exception if module not registered.