Added string-version for InitialCondition in classfactory.