Preparing module registration.