Make .type optional for literals.