Adding search operations to the custom element.