hacks to support resin-based connections