Made the documentation much more automated.