Added information on return_codes for func worker.