Use module_cache method instead of @module_cache

This fixes a crash that I get on our app (`@module_cache` is nil). I can't really tell you why, but I wanted to share our "hotfix" in case it's really a bug.