Thanks Raze, this is just what I was looking for (this should really be in the doc).