Remote.xs: Reorder variable declaration order