Adds WindowQueryable trait.
Adds trait for query optimization.