Documentation design for program interfaces