Call #class method since #to_s doesn't always return its class name