Add registration of "writeWorkspace" and "target" during the creation of a media