Added default constructor to BaseObject.