Renamed API methods for intermediary result matcher
Changed to use primitive long instead of Long for Intermediary result handlers