Optimize assembly references.