Added width, height. Renamed getDepth to depth.