Added feature to generate isSet-class of methods