I noticed that the newItemHandler implementation is different from the vani

clear() and selectAll() methods require ListDataProvider. If I have a custom DataProvider (based on AbstractBackEndDataProvider), those methods will throw a casting exception. Until the next release, what is the ideal workaround for this?