Neater application of additional classes for special string types