Added interfaces for scoring and result generation.