optimize documentation for inherited protocols