Check argument for null.
Merge branch 'release/1.0.1'