Add addAlgorithm and deleteAlgorithm to AlgorithmResource.