Refactor values method of fields classes to fields method.