Update for Morepath >= 0.4.