Bug 883120 - Refactor repository to have parameters with the 'a' prefix. r=amatei