GenericsUtil and ClassUtil: added some helper methods and signature
enhancements.