Add middleware inheritence
0.1.6