Method dimensions() should return an unsigned int.