Adds more documentation and enables documentation warnings