Needed to make some changes to code as the Yaler API seems to have changed in unknown way.