Added comments for render_embedded_resources