dealing with multiple layers of api docs