The beacon class, parcelable.