Update for middleman 3.0 compatibility