Continuation of an issue brought up in #411.
This is undoubtedly a javascript library, but I think I'd always prefer a more strongly typed response of something this critical. Probably even an exception if undefined parameters are given (maybe we should apply typeforce on this?)
ping @weilu