Cleanup adapter code.