No there aren't any problems with case classes. I was under the wrong assumption that `Integer.parseInt` returned an `Integer` rather than `int` . I have removed the extra constructor now and changed the types here as well.