Supports function as objects.
Removes funcproxies references.
travisplexer: pr-463-osx travis ci test