Make API more ObjC-like

Rename repositoryForClassName to repositoryWithClassName.
Update API docs