Added support for ESPS documents