Fix README documentation for with_class_method