Pass result to after function.