Detects declaration statements with 'var' that can use the explicit type instead.