Refactored retention_module to modules. Now all modules are supported.