add ability to enable/disable public interface