Improved extended attribute validation and utilities.