The plugin module should make it possible to register different plugins that are executed per pre and post hook.