Updated repositories to the newer interface.