Modified annotations with restricted scope and retention policies