Replaced object::from_id with object_from_id to match the idiom of the other code