Inter middleware dependencies resolved at compile time.
Working on sessions.