Bug 1079748 - Implement hierarchy manager