Improve null/undefined checking.
0.2.7