 import PrettyColors
 import ReactiveCocoa
 
+/// Wraps or passes through a string.
 func wrap(colorful: Bool)(wrap: Color.Wrap)(string: String) -> String {
 	return colorful ? wrap.wrap(string) : string
 }
 
+/// Information about the possible parent terminal.
 internal struct Terminal {
 	static var term: String? {
 		return getEnvironmentVariable("TERM").value()

	case Never = "never"
	case Always = "always"
	
	public var isColorful: Bool {
		switch self {
		case .Always:

	struct Formatting {
		let colorful: Bool
		
		/// Wraps or passes through a string.
		typealias Wrap = (string: String) -> String
		
		init(_ colorful: Bool) {
