Add common superclass for handling of literal_value.