Support setting the task type and storage type from the Stratego side.