Added some in-source documentation