Added add_function() in runtime.