HSEARCH-1455 Adding @Deprecation annotation