Adding the IMessages Contract to the API