Added serialozation support to all detail classes