add support for custom flow connector factories