public static function registerPrototype(Prototype $prototype) { self::$registry[$prototype->of()] = $prototype; }