Add Model#attributes, fix error with collection validation.