Cleaned many warnings reported with EXTRA_WARNINGS enabled