Add support for undefined
Merge pull request #6 from lewellyn/master

Add support for undefined