Added params to translate method.