Only for test.