Through a second look, the casting here seems unnecessary. I'll remove this.