Measurement error corrected hierarchical model in brms

I understand. It is badly documented. Perhaps looking at the Stan code itself can help. I don’t like the me() feature anymore to be honest. It implictely adds a measurement model without a separate formula, as does mi(). For this reason, I will soon deprecate me() in favor of using mi(), which can be used for the same purpose, as soon as I have figure out how to add grouping (argument gr) to mi().