remove some stuff from public API