Refactoring to use `ViewSets`.