Fixes #46. adapter_utils: Docu and cleanup.