Using instance_variable_set instead of module_eval