Necesary updates to work with Shen 9. Don't flush output. Support for $native expressions.