Add block validation for attributes