Initialize the class attributes inside module_eval as well. [#77432872]