Add other replica classes
Make SQL output more readable.