Fixes all documentation warnings & adds more documentation