Setting up models.