Add API reference for Matrix