Add algorithm stuff.