Only cache a method if we actually created one