Add deprecated annotation for strict syntax checking.