Support for argument middleware, joining arrays

Might come in use!
Maybe this function should be taken out, and given as an example!