Minor view code changes