Remove deprecated and commented code from the module.