Could you just have used `last_modified` as a decorator for `inner_last_modified` above and then used `template_last_modified` as the decorator here?