Fix coffeescript method chaining problem.