Allow extra params on pdf export