improved API for Fields class