Minor refactoring.
It's now possible to find trees and blobs.