Allow term type key to be a symbol or a string.