Add FI function implementation.