Removed use of deprecated Object::get_static()