Revert "Make the dummy method public."

This reverts commit fb8329d630d11d7ca9b7b288307c3c2bde3d7bf1.
Merge topic 'INTERFACE_LIBRARY-target-type' into next

40b09d3 Revert "Make the dummy method public."