Remove obsolete factories