Check for illegal arg or are we happy with a `ClassCastException` here?