Created tree storage mechanism.