Removes deprecated syntax