Adding abstract string mask.