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