Use property on some nontrivial class method definitions

That way, we don't run into issues when things don't work at import time. This
should also make the sympy import time a little faster.