Added serialisation to targeting