Added return type to REST API contract exposer.