Lowercase function to match Lua env
Reworked the player object.