 		}
 	}
 	
-	public func useOnQueue(queue: dispatch_queue_t, closure: (directoryURL: NSURL) -> Void) {
+	public func useOnQueue(queue: dispatch_queue_t, closure: (directoryURL: NSURL) -> ()) {
 		dispatch_group_notify(group, queue) {
 			if let createdDirectoryURL = self.createdDirectoryURL {
 				closure(directoryURL: createdDirectoryURL)

	public typealias ErrorReceiver = (NSError) -> ()
	
	public let pathComponents: [String]
	public let directoryBase: NSSearchPathDirectory
	public let errorReceiver: ErrorReceiver
	private let group: dispatch_group_t
	private var createdDirectoryURL: NSURL?
	
	public init(var pathComponents: [String], inUserDirectory directoryBase: NSSearchPathDirectory, errorReceiver: ErrorReceiver, useBundleIdentifier: Bool = true) {
		if useBundleIdentifier {
			if let bundleIdentifier = NSBundle.mainBundle().bundleIdentifier {
				pathComponents.insert(bundleIdentifier, atIndex: 0)

		}
		
		self.pathComponents = pathComponents
		self.domainMask = [.UserDomainMask]
		self.directoryBase = directoryBase
		self.errorReceiver = errorReceiver
		
