First attempt at properly setting doc structure