Update Writer.php

Add schema