remove useless documentClass first param of Repository