Add hooks for custom command exception handling and transaction pre-begin.