One thing I noticed here is that you added a `templateSource` object which doesn't get serialized. Is that correct?