Added addRecord, removeRecord and replaceRows