Fixed class cast warnings in FlexTable and HtmlTable.