Added device location processing.