Common code for CLA frontend and CLA public