Add class methods to Pattern to facilitate pattern creation from various combinations of selectors.