Added remote flag to decorator.