Remove unneeded assembly references.