Added player tracking functions.