Support maxage as config option