support bool? and DateTime? when mapping properties