create Stub class.