Models can now define associations.
Removed option for database type.