Added implementation of any() and all(). Also, a quick rename for fold functions.