Little cleanup of view templates.