Add redis class to the module.