Automated inclusion of algorithms