Add method for getting field values