Improve documentation of entity directives and the `source_data` flag