Added BaseObject bindings (to be finished).