Shouldn't we change background and preview (and others) to use the `type` flag as well? Right now, we are not consistent.