Adding hooks for commercial extensions
Implemented support for asynchronous replication