These should be parameters of the `translate_*` functions you pulled out, not member variables.