Use getdata function instead of AbstractClass member function to avoid race conditions