Guard against nil when inspecting statement.
Freeze URI constants.