Joint Classification By Structure