Added protocol() method to Translator.