Refactoring player templates