More changes, added better documentation for the dependencies part in IModRegister.