Add documentation
Add extraction for referenced resources.