You're letting ClassCastExceptions happen here