Added Clear() and Empty() methods