Updated to work with newer Hubot.