Added support for NSAttributedStrings.

Could add comment that strings can't be empty or we will crash.