Item type attribute syncing, and PHP model restructuring