Add basic support for callable classes and bound methods