Fixed JMLR examples to work with the new interface.