Removes NoneType dependency

NoneType isn't provided by Python3. This remove that dependency, and, I think, makes cacheify Python3 compatible.