Complete v1 code for StubSystemDriver and StackSystemDriver