Add HAVE_REMOTE function, class, and const.
Add examples