freetalk: Fix deprecated functions