Update player.h documentation and better code.