Making manifest-declared callback stub generation more robust, improving some warning printin