Changed to use the name "agencyId" instead of "projectId" to make things
more clear and consistent.