GENERATED, VERY UGLY HACK!