Transfer operators, endomorphisms, and measurable partitions. (2018)