Learning object repositories