Add FFS function and macros.