Added compound index attributes support.