Handle NULL to shared T* conversions as function arguments.  Fixes #7.