Change WriteInit to not take an object state parameter anymore.