Would it make sense to have attributes be a class?