Remove obsolete types and methods.