Add non-null constraints for various fields.