I'm not sure I understand why this and some similar code in this file is using "remote" instead of "http-remoting".