Adding docblocks to user interface.

![image](https://cloud.githubusercontent.com/assets/1733354/5217524/8a9fbe56-7628-11e4-9e00-a797bcb39001.png)