validation
moving require statements inside methods
docs
typos
use base `_register` method.
use a different cache for each type (per call with @doowb)
Merge pull request #4 from jonschlinkert/validation

validation