DRY up RedisDatabse.