Exclude unused vars from compiler errors.