Add beginInternalTransaction() method to simplify BaseActiveRecordVersioned.