Small speed improvement for task loading.