Added attr_accessor serial method