Fix for Detecting class method as built-in function

http://dev.kohanaframework.org/issues/4517