Index: trunk/src/lib/physics/fields/field.cc
===================================================================
--- trunk/src/lib/physics/fields/field.cc	(revision 9406)
+++ trunk/src/lib/physics/fields/field.cc	(revision 9869)
@@ -23,7 +23,8 @@
 #include "util/loading/load_param.h"
 
+ObjectListDefinition(Field);
 
 /**
- *  standard constructor
+ * @brief standard constructor
 */
 Field::Field ()
@@ -33,7 +34,6 @@
 
 /**
- *  standard deconstructor
-
-*/
+ * @brief standard deconstructor
+ */
 Field::~Field ()
 {
@@ -42,9 +42,9 @@
 
 /**
-  \brief initializes a Field
-*/
+  * @brief initializes a Field
+ */
 void Field::init()
 {
-  this->setClassID(CL_FIELD, "Field");
+  this->registerObject(this, Field::_objectList);
   this->setMagnitude(1);
   this->setAttenuation(0);
@@ -54,5 +54,5 @@
 
 /**
-* @param root The XML-element to load settings from
+ * @param root The XML-element to load settings from
  */
 void Field::loadParams(const TiXmlElement* root)
Index: trunk/src/lib/physics/fields/field.h
===================================================================
--- trunk/src/lib/physics/fields/field.h	(revision 9406)
+++ trunk/src/lib/physics/fields/field.h	(revision 9869)
@@ -16,9 +16,9 @@
 /*!
  * @file field.h
-  *  abstract definition of a Physical Field
-
-    This is a totally abstract class, that only enables different Physical Fields to
-    exist on a common Level.
-*/
+ * abstract definition of a Physical Field
+ *
+ * This is a totally abstract class, that only enables different Physical Fields to
+ * exist on a common Level.
+ */
 
 #ifndef _FIELD_H
@@ -34,4 +34,5 @@
 class Field : public PNode
 {
+  ObjectListDeclaration(Field);
  public:
   Field();
Index: trunk/src/lib/physics/fields/gravity.cc
===================================================================
--- trunk/src/lib/physics/fields/gravity.cc	(revision 9406)
+++ trunk/src/lib/physics/fields/gravity.cc	(revision 9869)
@@ -21,11 +21,12 @@
 #include "util/loading/factory.h"
 
+#include "class_id_DEPRECATED.h"
+ObjectListDefinitionID(Gravity, CL_FIELD_GRAVITY);
 
-
-CREATE_FACTORY(Gravity, CL_FIELD_GRAVITY);
+CREATE_FACTORY(Gravity);
 
 Gravity::Gravity(const TiXmlElement* root)
 {
-  this->setClassID(CL_FIELD_GRAVITY, "Gravity");
+  this->registerObject(this, Gravity::_objectList);
 
   if (root != NULL)
Index: trunk/src/lib/physics/fields/gravity.h
===================================================================
--- trunk/src/lib/physics/fields/gravity.h	(revision 9406)
+++ trunk/src/lib/physics/fields/gravity.h	(revision 9869)
@@ -16,4 +16,5 @@
 //! A class for ...
 class Gravity : public Field {
+  ObjectListDeclaration(Gravity);
 
  public:
Index: trunk/src/lib/physics/fields/point_gravity.cc
===================================================================
--- trunk/src/lib/physics/fields/point_gravity.cc	(revision 9406)
+++ trunk/src/lib/physics/fields/point_gravity.cc	(revision 9869)
@@ -20,4 +20,7 @@
 
 
+#include "class_id_DEPRECATED.h"
+ObjectListDefinitionID(PointGravity, CL_FIELD_POINT_GRAVITY);
+
 
 /**
@@ -27,5 +30,5 @@
 PointGravity::PointGravity ()
 {
-   this->setClassID(CL_FIELD_POINT_GRAVITY, "PointGravity");
+  this->registerObject(this, PointGravity::_objectList);
 }
 
Index: trunk/src/lib/physics/fields/point_gravity.h
===================================================================
--- trunk/src/lib/physics/fields/point_gravity.h	(revision 9406)
+++ trunk/src/lib/physics/fields/point_gravity.h	(revision 9869)
@@ -1,3 +1,3 @@
-/*! 
+/*!
  * @file point_gravity.h
   *  Definition of ...
@@ -16,4 +16,5 @@
 //! A class for ...
 class PointGravity : public Field {
+  ObjectListDeclaration(PointGravity);
 
  public:
Index: trunk/src/lib/physics/fields/twirl.cc
===================================================================
--- trunk/src/lib/physics/fields/twirl.cc	(revision 9406)
+++ trunk/src/lib/physics/fields/twirl.cc	(revision 9869)
@@ -20,4 +20,7 @@
 
 
+#include "class_id_DEPRECATED.h"
+ObjectListDefinitionID(Twirl, CL_FIELD_TWIRL);
+
 
 /**
@@ -27,5 +30,5 @@
 Twirl::Twirl ()
 {
-   this->setClassID(CL_FIELD_TWIRL, "Twirl");
+  this->registerObject(this, Twirl::_objectList);
 }
 
Index: trunk/src/lib/physics/fields/twirl.h
===================================================================
--- trunk/src/lib/physics/fields/twirl.h	(revision 9406)
+++ trunk/src/lib/physics/fields/twirl.h	(revision 9869)
@@ -1,3 +1,3 @@
-/*! 
+/*!
  * @file twirl.h
   *  Definition of ...
@@ -16,4 +16,5 @@
 //! A class for ...
 class Twirl : public Field {
+  ObjectListDeclaration(Twirl);
 
  public:
