Updated player class.