Added ability to use NSAttributedString