Add contains and containsInterval