Add comments into stub.h and stub.cpp