Allow for arbitrary classes appended to pagination