Revert "Making interfaces public."

This reverts commit d6871a9f4cec2b0787bab0542644f4f89b334eb5.