added support for nullptr_t -> nil