Removed some unused references