Add hierarchy to prototype model