Removed the setRecord() method