Fix stub define