Hopefully fixed an unsafe type pun.