allow more than 3 arguments

* allow more than 3 arguments for k() and ks() calls
* assert API