Add ranging and serialization methods