CompoundDetailModel protect non-public structures