Added handler for remote requests.