     /**
      Creates an attributed string with a specific writing direction.
 
-     :param: direction  The direction to set for the attributed string.
-     :return:           A new attributed string with the newly added attribute.
+     - Parameter direction: The direction to set for the attributed string.
+     - Returns: A new attributed string with the newly added attribute.
     */
     public func withWritingDirection(direction: [NSNumber]) -> NSAttributedString {
         return attributedString.withWritingDirection(direction)

    /**
     Creates an attributed string with a specific attachment.

     :param: attachment The attachment to set for the attributed string.
     :return:           A new attributed string with the newly added attribute.
    */
    public func withAttachment(attachment: NSTextAttachment) -> NSAttributedString {
        return attributedString.withAttachment(attachment)

    /**
     Creates an attributed string with a specific underline style.

     - Parameter style: The underline style to set for the attributed string.
     - Returns: A new attributed string with the newly added attribute.
    */
    public func withUnderlineStyle(style: NSUnderlineStyle) -> NSAttributedString {
        return attributedString.withUnderlineStyle(style)
