Added coffeescript compatibility