Removing abstract matrix and vector.