replacing deprecated TTGetRegisteredClassNamesForTags with static TTObject method. see #244