Fixed error from last commit, caused by the fact that when you try to turn undefined into an object it becomes a false boolean and is no longer empty. I think I'm going to release this one as v4.1. Crossing fingers.