Converted to CoffeeScript.