Added interfaces for routines and associated result class.