Fixed printing of keys.
Started using AOPS interface for nrow/ncol/dims.
Added AOPS:ELEMENT-TYPE definition.