FB: Fix outdated api compile errors.