Make compatible with Pelican 3.1