Make runOnOS class method.