Make gmatch() work with __call-enabled objects