Added methods to Player class to be used with SQL.