This method makes this class mutable. Immutable is always better, and should be easy to accomplish in this case. Instead of updating the serializer, lets remove this method, and have the caller just create a new StoreRequestFactory with a new serializer when it changes.