Use invokeInWorkspace for discover methods