reorganize Freezable-related docs
make freeze_safe a classmethod
make _make_rational into the Function.make_rational class method