Update for compatibility with recent changes to nupic