better odoc for middleware pack
documented rock