Component de/serialization.