Added support of the generic attribute into R_loadMethod. Also moved string comparison out of the fast path.