Documented the main stuff