Added check for completionBlock before calling back.