Reverted a change in SemanticFactory previously committed by mistake.