Yeah, I initially tried to make it boiler plate so we could copy-paste share it across plugins but I deviated from that enough times to merit changing it here as well.