Adjusting to Stately.js events.