Protein folds in the all-beta and all-alpha classes.