Making attribute class sealed to improve performance