Remove unnecessary NotNull attributes