Fixed all warnings in Player.