#40 DSL extended to support plugging in repository event listeners