Inject block as last argument on function call