Storing in-bed and out-bed stats.