Added support for getting height and width.