Set some methods as final.