Remove unused references from project