Added resource stuff to voxels.