Changing getFieldValue method signature