Add null check + defaults.
Merge pull request #3 from CraftThatBlock/patch-1

Add null check + defaults.