Refactored and added exclusion support for auto string to integer
conversion.