Twisted plugin fixes