Shouldn't need const in these casts.