Serialization improvements. Server channel tests.