Added previous options to Rect. Added weak_ref_value to utils