[asubmit] Added some documentation in the form of comments.