Good. I'll do it tomorrow (or from Monday) and add test. Anyway `ClassCastException` has info about source type and target type. So, there is no reason to extract them