Turns out we do not need the (object) cast.