Fix Function.length on optimize method

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