This changes the Schema classes enough so they use Moo, which will allow adding a weak reference to the database connection