Is this method only called by test? Why is it necessary?