Added structure-based operators (contains() and replace())