Add first few lines of spec for middleware