Added prototype reflection code