add expectation propagation to modular interfaces