Make sure we set a default callback if one doesn't exist
Convert the hits value to an integer
Add range() and aggregate()