Made batch operations backwards compatible with < 2.5