Add execution metadata on after function.