Remove obsolete code.