Adding more convenience functions to extract frame measurements for views.