Add db classes. No require for SS in profile.
Fix bug.