Adds few functions

You have not imported `Player`. You must make sure it builds (run `gradlew`) before submitting a PR