Finished the addition of doctests to underscored methods in comp.py