quick stab at a plugin registration patternlet