Add safe block macro.