[#3] Made 'type' attribute in memspec optional.

It is only used in the streaming output function of Parameter, which we don't call anyway. It only clutters the memspecs.