Allow embedded resources to be either embedded, linked or skipped.

Do not merge yet