Validate support for version of click < 4.X

Remove unused dead code for older version of click < 3.2