Start working on thread support