Removing unused references.