Adding generic instances for bounds and Queryable.