Add `middleware` dev notes