fixed types for BaseObject instances

--HG--
branch : Types refactoring