added support for maxage option

We should not propagate `maxage` when it is not there :)