Update for Bespoke.js v1.0 API