Fix LdbObject and childs constructors