Bug 1079231: Use templated CallNonGenericMethod whenever possible; r=jorendorff