Player entity refactor.