bug fixes

* allow None in extension constructor
* fix Limiter:check method.
* ensure Storage:get returns an int.