shouldn't ``pragmas`` be an empty array rather than ``null`` ?