How to add a dummy dimension?

To use Ordered() I have to have my vector of dimension N, but then I do some manipulation with the result and the rest of the function is written to accept (N,1) shaped stuff (subclasses of theano tensors, I suppose). What is the proper way to add a dummy dimension?

There is a discussion here