Supports helper functions added to Array prototype.

If you put some function into the Array prototype the current code fails. This change simply skips the functions when traversing the body Array.