Support the up-to-3 argument versions of JSAdapter.