Changes to support Redis slaves