Before writing objects with collision.