It seems strange to me that you're embedding the context into the module system. AFAIK, you should only need it when rendering.