I should replace this with a wrapper class for ROCKTAB. back when I wrote this code, the wrappers did not exist, though...