Added support for nongeneric methods