Register serializable location class.

forgot to do this.