Add validation check for unspecified refattrs.