Fix resource use for DataAnotations