Core media

A better name would be `removeMediaFromWork` to signal that we don't actually delete any object from the DB.