Make sure fields are set.