Enabled API objects to be serialized