Calibre loader: add pragma directives