Demo code in API reference now actually compiles