Adding example code for __deprecated