master: Added stub functions for thread and label functions.