Removed unused public code.