Add helper methods to pass in ints to the preferences stuff