API change: Rename Prototype to Repository

@Schoonology please review.