Update warnings and remove using statement.