Re-implement Attributes with a vector instead of a hashmap