Updated to support mobile device.