Shorten serialize.