Move configuration adapters to compass core.

Closes #1739.