Removed unused code in Player