Create method factory outside of method caller