Added models for database use.