Adding final keyword to some classes and methods.