Add ability to set the SerializationContext in the function configuration.