Add resource detection todo.
Unfold element's root node contents.
Detect resources.