Added basic support for NSAttributedStrings