clean up D.A.Endpoint and add Haddock comments