The check_limits decorator that was introduced in #157 has a few shortcomings. In its current form it can only be used on class methods with one numeric parameter.
However it should be extended to be usable on free functions and to decorate functions with multiple parameters that need limit checking.