Adding a workaround to install func for testing.