Set several methods as final.