The columns were not returned as references and because of that the assignment failed.
Added additional constructors.