Add method for compatibility with Redic object