VERY UGLY HACK, GENERATED METHODS!