CoffeeScript rewrite cleanup.