Clean up assembly references.