Modified module dependency registration.