Completed serialize.rb to-do.