Add processing block
Fix compilation errors in Xcode 6