Fix console example (closes #201)