Rename pdf relevances. Add const array to DRY code.