Accept strings when parsing resolution contexts.