Make assignment consistent with 'shell' template