Before non-public properties were not reset also, trying to unset them just caused a fatal php error, effectively crashing the whole script.