Added parcelable classes for basic types and pairs.