Add twisted implementation