Cleaned up unused references.