Added helper method to dynamically change the redis namespace