0.2.6
refactor some param checks to callback with an TypeError instead of throwing an exception