To reduce the number of methods that begin with the word remove, maybe we should call this handleLiteral.