-Added width and height retrieval functions.