Fixed many Lint warnings for view classes