Change option name from 'loadDocument' to 'documentLoader'.