Added some more game helper functions.