Put bam collection factory in right package.