Allow direct access to member functions via :: operator.

This means we don't need to treat function member separately and we can
delete a bunch of stuff.