Fabian Gutzat and Carsten Dormann investigated birds nesting inside trees and their requirements:
Decaying trees improve nesting opportunities for cavity-nesting birds in temperate and boreal forests: A meta-analysis and implications for retention forestry in the journal Ecology and Evolution