Add Optional key for SessionFactories.