Changed base type components to extension methods.
Added ConvertToNullableInt method