Add class Player and change EventReceiver api.