Added automatic descriptor persistence when submitting tasks and contexts