Parse arguments for repository method