majs doc + abstract base classes for Signal and Approx