update to stop using reflection. Only usable with version >= 79.13