Init the module when it is loaded.