Let's use anonymous arguments instead of all this casting.