Method getPass added to class TaskStorage.