Adding context information to controller generator output.
Adding translate methods to form element.