Restore equation printing functionality.
Add support for non-static algorithm ids/methods.