My IDE says, that casting to `List` is redundant.