Attempt to generalize app.use

In theory, it should work, however, it does not. And it gets confusing
quickly.