Interpreter: refactor APIs for integer FP impl.