Refactoring views parameters