Refactor out reference to StaticViewUrl