Error if node `output` returns none

- Fixes #286
Don't wrap directmode function in lambda.