Moves constants to avoid dependency on PDFView