Improve readability of f_impl.c and f_impl.h