Factor out StaticRenderer