Add support for single quotes in generic.