Add patchesAllBlack functionality (v1)