If I'm reading this right, this code replaces _integrate_boundary? That seems fine.