Fixed a bug in gen_dev where the __str__ method concatenated the strings incorrect.