Rename notnull to required

As per #110