Added stuff for autogenerating docs.