Error if node `output` returns none (fixes #286)
Don't wrap directmode function in lambda.