Feature/allow null object ptrs

this is required to be able to pass a null value while calling a function (as a param)