Added support for read slaves.