 Tree operations.