ActiveRecord style macros for Redis.