revert 'make API public'