Make emitEvents property private