Implemented getFieldValue and setFieldValue on Variable