Minor changes and a little bit of documentation added.