Add intersection and isEmpty methods