Reorganize int10 code. Fix comments.