Fix Function.length on optimize method

CoffeeScript fat arrow is not necessary for class methods and breaks `.length` property