Refactored remote.HTML