Moved handy code into RS file (for now).
Updated class stubber to include $data.