Revert "Use options of the adapter.".

This reverts commit 653655f598afebee24a8469bfed24f570ead44df.