Turn Forest into a struct so that it can have methods.