Initial conversion to CoffeeScript.