Fix deprecated client property