Register serializable location class.