Make patch-generated method names more readable

Signed-off-by: Ross Allan <rallanpcl@gmail.com>