Thanks for the explanation @twpayne, this is gonna cause confusion though for our end users I fear. Examples is what they will look at first.
This morning @elemoine @bbinet and I discussed having Jasmine tests for the API and we also briefly discussed not having the compiler run on the examples, but then decided against it. But seeing this I think we should re-evaluate that decision.