doc restrictions on annotations