It now accepts an arbitrary inner matcher to match the base class. With an additional overloaded method, the patch should be fully backwards compatible.