Move Object::add_extension to config.yml