Replaced check for sympy in constructors.py.