Fix interface for threads call