Added logging capability to existing modules.