Add methods to get item width and height