Expose interfaces, not private package classes.