Added some basic inline documentation. [ci skip]