Expose method in API