Add api v8 support