I wasn't sure if this is the best way to expose this functionality, but it seemed to work for me..