Replace objc tree implementation