Change definition of maxage to make it easier (i.e. possible) to load from a json/yaml/etc