Remove some unused references