Completed definition of matrix types.