Simplify enqueing function move data initialization out of constructor