Follow factory pattern for creating hierarchy builders