Updated method name generation