Added basic support for NSAttributedString