Add expectation propagation to modular interfaces