New Component and Rect classes