Expose some missing algorithms in main.js