Classes Symbol and Constant, rather than functions (à la SymPy)