Remove require and use repositories instead.