Set device property when we create source.