Un-deprecated Object::add_extension() non-LSB usage (fixes #1710)

Its usage is too common to force-remove it just for a shortcut.
We still recommend adding extensions through YAML of course.
API Deprecated Object::add_extension() usage (as of 3.2)