I'm irritated as to why a cast is required here...