Use a raw Method** array in Class

This makes sure that the array can't be modified. It also avoids
thread-safety problems that could occur from refcounting.