Basic NSOperationQueue code.