Added initial implementation of code for translation.