model: Implement callbacks for class Player.
qmodel: Wrap class Player.