Writing models works properly.