Allow substractive middleware configuration.

Closes #35.