Added class documentation. Closes #223.