Showing how to avoid exposing common package private interface in an API with the help of an internal class Evaluator which encapsulates all the polymorphic calls into various bets.