Maybe check if "field" was actually set and throw an exception if not?