Make fields in EjCollOpts usable from the outside
Move declaration of EjCollOpts

Move it to the file where it is used