Port to Pandora.

Thanks to ptitSeb.