Add an externally accessible API