Set recursive to -1 in the AppModel
Improve style lookups by simplifying the code and using caching
Improve language lookups by simplifying the code and using caching