Added queries that use enums to repository class.