-- added. Generate constructor and Generate to string for HaXe