Changing direct API for real multidim.