Added common string methods.