Simplify flame_function's constructors