Added not nullable constraints to various attributes.