Add expose_background_function.