Add in documentation for instantiating the StatefulFactory