Some algorithms made container-agnostic