Remove intrusive dependencies introduced with copy-paste.