MOD: minor changes

Adding some minor changes, as well as some more documentation. The
documentation is still unfinished though...