Edit: Apologies. I realise that there are ways to do this already. Please ignore / delete this post.
There is?