some additions for object recording and groovy