Move smartdown adapter logic to the gem