Added classes for external REST comms.