Fix activation errors due to missing functions file