Simplify handling of keywords that are strings