Refactor view names and url names for consistency.