Expose expose_shadow_function.