Rename decode() method to translate()