* Minor refactoring.
* Added new DB views.