Fix fancyref subsection support
Fancyref source
Expand devices section and update diagram