Implements promise and RemoteModel methods.