Setting to null to avoid JS exception.