add optional behavior for defaulting unset values to nil

Closes #2 if merged, thought I'd just take a crack at it so we can use if we want for now.