Replaced final modifier and override annotation with attributes