If the ResourceContainer is added to cls._proto_models[message_fields_schema] and the cache is checked at the top of this function, is that causing problems?  It seems like the whole ResourceContainer could be cached, unless I'm missing something.