Remove obsolete code from module.