Compatibility Class Object Adding Function