Throw error if incorrect preferred adapter
Add documentation