instead of calling class_attribute 3 times, we can do it in one call

Instead of calling class_attribute 3 times, we can do it in one call.
If more attributes are added in the future, it would be nice if they are added in the same array, rather than having one line for each attribute.
What do you think?