Add support for ARC when writing custom matchers