Adds some caching to the translation core