Thug API minor changes