Allow X/8, X.Y/16, and X.Y.Z/24 when adding a class range.