Ensure that all arguments are non-null values.

This fixes node 0.10.x usage.