Move noderedis declaration outside