add deprecation warnings for {} syntax