Make a pass everywhere and add comments where useful. Try to stick to a format readable by automatic documentation tools?