Moved generation of schema to Setup.hs.