Add basic CPP stub support