Syntax deprecation fix