Adding getting and setting of stats