Added debug methods to UIView