This fixes a namespace clash in our connector tool including Categories, Articles and Media at once. As all other instanceof appearances in the file are with the fully qualified class name i found this to be a rather rational approach being unable to find a solution outside of the Resource code