Removes obsolete method interfaces.