Generate valid code for simple member variables.