Structured docs properly, and added some info about entities.