Trying to make NSNull detection work.
Keep item from being released too soon.
Improved handling of block variables.