Added instanceOf to matcher to keep compilers happy