Support older versions of ruby to get calling method