Cleaning up the interface
Interface changes for proper thread affinity handling