Upgrade cc funcion helper to cc class helper