Delete unnecessary lines of code in the Player class.