Code for the EASE project.