Added some better comments.