Enable more thread apis