avoid method call optimisation for inner functions (which are obviously not methods)